package com.example.demo.mapper;

import com.example.demo.entity.BookVO;
import com.example.demo.entity.Shouye;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Mapper
@Repository
public interface ShouMapper {
    //首页借书记录
    Integer jieyueshouye(BookVO bookVO);
    //首页还书记录
    Integer huanshushouye(BookVO bookVO);
    //首页图书总数
    Integer countshouye(BookVO bookVO);
    //总点击量
    Integer dianji(Shouye shouye);
    //波状图
    Integer one(BookVO bookVO);
    Integer two(BookVO bookVO);
    Integer three(BookVO bookVO);
    Integer four(BookVO bookVO);
    Integer five(BookVO bookVO);
    Integer six(BookVO bookVO);
}
